package com.hqhy.like.stock.service;

import com.hqhy.like.stock.pojo.param.CategoryAddParam;
import com.hqhy.like.stock.pojo.vo.CategoryListItemVO;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface ICategoryService {

    int insert(CategoryAddParam categoryAddParam);

    int deleteById(Long id);

    int updateById(CategoryListItemVO categoryListItemVO);

    List<CategoryListItemVO> list();


}
